﻿using System;
using Iesi.Collections.Generic;

//Nhibernate Code Generation Template 1.0
//author:MythXin
//blog:www.cnblogs.com/MythXin
//Entity Code Generation Template
namespace Model.Entity{
	 	//Book
		public class Book
	{
	
      	/// <summary>
		/// isbn
        /// </summary>
        public virtual string isbn
        {
            get; 
            set; 
        }        
		/// <summary>
		/// name
        /// </summary>
        public virtual string name
        {
            get; 
            set; 
        }        
		/// <summary>
		/// bookTypeId
        /// </summary>
        public virtual BookType bookType
        {
            get; 
            set; 
        }        
		/// <summary>
		/// author
        /// </summary>
        public virtual string author
        {
            get; 
            set; 
        }        
		/// <summary>
		/// publisherId
        /// </summary>
        public virtual Publisher publisher
        {
            get; 
            set; 
        }        
		/// <summary>
		/// price
        /// </summary>
        public virtual decimal? price
        {
            get; 
            set; 
        }        
		/// <summary>
		/// pageNumber
        /// </summary>
        public virtual int? pageNumber
        {
            get; 
            set; 
        }        
		/// <summary>
		/// addDate
        /// </summary>
        public virtual DateTime? addDate
        {
            get; 
            set; 
        }        
		/// <summary>
		/// decription
        /// </summary>
        public virtual string decription
        {
            get; 
            set; 
        }        
		/// <summary>
		/// translator
        /// </summary>
        public virtual string translator
        {
            get; 
            set; 
        }        
		/// <summary>
		/// imgPath
        /// </summary>
        public virtual string imgPath
        {
            get; 
            set; 
        }

        public virtual ISet<Rfid> rfids
        {
            get;
            set;
        }
	}
}